[mod] display realpath resolved path in error if the path doesn't exist