Add realpath to the user-defined path