Fixed #1545: migration on fresh install fails (broken by r1592).
Authored by: jplang 2008-06-29
Parent: [r1594]
Child: [r1596]