Use realpath() to allow powerline to be symlinked.

Just a small change to allow one to symlink the powerline script and not throw ImportErrors.