Add a check to make sure that a running boot environment cannot be removed.