Remove trailing slash from $GITREMOTE