remove pundit policy spec if policy hasn't been generated