I would debug log it, not warn, this is not always caused by user permission (getting null when listing files)