Give precedence to .git/safe/../../bin

Needed for Rails 4.