Make grt do nothing when outside a git repo