Only remove image if one was committed