Replace all hardcoded references to https://github.com/ros-infrastructure/ros_buildfarm.git with the appropriate variables.
Use a workaround for get_repository_url when git is not installed.