Pin collective.upgrade to 0.4