GIT_PROMPT_END was broken on directories without repository

fixes #19