Remove unnecessary git diff operator
Fix integration tests without gem

The integration tests require the gem to be installed, this catches that
case and tries to add the appropriate directory.