Avoid infinite recursion in `POWERLINE_OLD_PROMPT_COMMAND`

Fixes #678
Merge pull request #679 from pdf/feature/678-fix-infinite-recursion-in-powerline_old_prompt_command

Avoid infinite recursion in `POWERLINE_OLD_PROMPT_COMMAND`