Safer check for whether update_code should be run again in the presence of mounting volumes.