run PG migration before changing the distribution

reason: PG migration need packages from either the wheezy
distribution, or squeeze-xivo-skaro. When it was done, there was none
of those distributions in the sources.list.