Properly handle bare repo without any files created