The legalpages app was renamed to staticpages

But the migration was still referring to the old name. This breaks new
installations only.