Fix path issue when upgrading a partitioned install