Fix errors generated by migrations

I tried to install kitsune from scratch and the migrations generated a couple of errors because of modules it was unable to load.