Change seed generation to have same directory behaviour as migration

Change to seed behaviour to use the same path resolution as migration - essentially, replicating change SHA: b7672df53623dc9112c13120fc46eca5a48e5dd4 by @demmer