use getParentPath for repo-service-helper.cpp