diff --git a/src/manager/componentsManager.py b/src/manager/componentsManager.py
index <HASH>..<HASH> 100644
--- a/src/manager/componentsManager.py
+++ b/src/manager/componentsManager.py
@@ -883,10 +883,11 @@ class Manager(object):
 		LOGGER.debug("> Current Component: '{0}'.".format(component))
 
 		if os.path.isfile(os.path.join(profile.path, profile.module) + ".py") or os.path.isdir(os.path.join(profile.path, profile.module)):
-			not profile.path in sys.path and sys.path.append(profile.path)
+			path = profile.path
 		elif os.path.basename(profile.path) == profile.module:
 			path = os.path.join(profile.path, "..")
-			not path in sys.path and sys.path.append(path)
+		not path in sys.path and sys.path.append(path)
+
 		profile.import_ = __import__(profile.module)
 		object_ = profile.object_ in profile.import_.__dict__ and getattr(profile.import_, profile.object_) or None
 		if object_ and inspect.isclass(object_):
Refactor "Manager" class "instantiateComponent" method in "componentsManager" module.