patch *after* checking out packages