#107 delete mod image when deleting mod
Fix code which causes gradle to fail build