BZ-9313: Add validation to avoid undefined exception in the Gallery
Merge branch 'master' of https://github.com/NoesisEnergy/bootstrap