Added support for no imagePath found