Helptags seems to fail if some of the path components it receives are symlinks. So resolve the symlink when calling helptags.