Fixed error when catalog was not found.