fixed an error after publishing a page who's parent is not yet published

If newly created page under a parent page gets published and the parent page was not yet published there is no publisher_public for the page. The result is an exeption DoesNotExist. This patch fixes the error and redirects to root instead.