fail gracefully if the user doesn't have access to the github repo requested; fix build with branch dependencies