Avoid constructing a FilePermission object in checkRead if base manager is null.