Fixed a bug where a master image isn't found.