realpath
Use `os.path.realpath` instead to make sure symlinks are followed. This is also required to work for nix package manager.