Made changes to make sure that empty repos can be fetched