Fix reference to non-existent upgrade profile introduced in f69e83c.

(Also removed an unused import).