netboot_firmware_settings.py: Prepend cwd to path

- Support running this tool from a symlink in factory

BUG=chromium:713599
TEST=ran platform/factory/setup/netboot_firmware_settings.py

Change-Id: Ie388d02e9144af850e447a6819af04107f52d6bf
Reviewed-on: https://chromium-review.googlesource.com/535059
Commit-Ready: Drew Davenport <ddavenport@chromium.org>
Tested-by: Drew Davenport <ddavenport@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
diff --git a/host/netboot_firmware_settings.py b/host/netboot_firmware_settings.py
index 1add00e..4f516f9 100755
--- a/host/netboot_firmware_settings.py
+++ b/host/netboot_firmware_settings.py
@@ -9,11 +9,16 @@
 from __future__ import print_function
 
 import argparse
+import os
 import socket
 import struct
 import sys
 
 try:
+  _path = os.path.dirname(os.path.abspath(__file__))
+  if _path not in sys.path:
+    sys.path.insert(0, _path)
+  del _path
   import fmap
 except ImportError:
   print('Could not find fmap module. If you are running outside the chroot, '