Only upgrade branch dependencies when an explicit upgrade is requested.