Removed unnecessary realpath() call