fix removal of orphaned service after vm image is made