Fixed a bug in Catalogs plugin for an initialization error

- fixed a bug where the Catalogs plugin (reference viewer) would throw
  an exception when initializing if no image is present