* Refactor repo.isBare to repo.isEmpty #5629 Signed-off-by: Andrew Thornton <[email protected]> * Remove Sync call