Proper  support for external __GIT_PROMPT_DIR