LPS-43708 Fail to upgrade from 6.1.2 to master due references to portal services during the upgrade