Partially revert "Hack: alter the migrations for staticpages since they seem have a flaw"

This partially reverts commit ce7f987198d7e609688921f879ed9e30d568bf68.

We want the renaming in case of migration.