Clean up `bpan upgrade`