[BUGFIX] Failing unit tests due to wrong path handling