Issue #2910320 by murilohp, malik.kotob: Validating managed files should account for null triggering elements (cherry picked from commit c886a764)