Fix problem with hermit add quitting after diff