Add more realpath, refs #2096