If /home is a link, powerline-shell doesn't show ~ when in home directory. Instead it shows "....ssh/home/username/%" I looked at this briefly and I think the issue is in segments/cwd.py.