Use realpath() to allow powerline to be symlinked.