Fix migraiton option installation
Specify option type only if necessary