Add fix for repos that lack remote