if realpath doesn't exist, don't throw a error code and try readlink