target in the GET request params will be an empty string if creating a top-level page
Merge pull request #3200 from damianmoore/fix_for_non_superuser_adding_top_level_page

Fixed error when non-superuser tries to create a top-level page