[spec/ysh-prompt] Fix test to not rely on $PWD