fix: add missing import
add: ignore private Glance images

Refactored some code at the same time, moving Dummys to toplevel.