Bug fix in handling blank repos