Fix prod install

2 applications ('vulnerability' and 'maps_viewer') broke the production installation from scratch for wrong operations sequence.
Fixed with this PR.
https://bugs.launchpad.net/oq-platform/+bug/1362650