improving CMAKE_PREFIX_PATH handling while generating environment files through catkin_make_isolated when no source packages are present (#423). This is done by duplicating a bit of code from cmake/python.cmake