use CMAKE_CURRENT_LISTDIR instead of CMAKE_SOURCE_DIR as GIT_PARENT

Thanks for merging! Upon further usage I have noticed and fixed a small bug which caused the function to pick up the super-repository in many cases.