Eronious call to os.realpath