Do the right thing for empty and non-empty PROMPT_COMMAND.