fixed NPE when upgrading a system without exchange partition