core/post: Warn when we fail to find a filename in the policy