If only the code of a warehouse is changed, `name` is None. Do not try to set None as the new pull name. Fixes #14766
6f8e40c