Fixed rspec tests for git_revision

Fixes to some failing rspec tests