Make tests still pass if git username/password aren't setup

Required for travis CI to work