removing device image with the same name if it exists