fix problems with importing invalid wiki page urls

test plan:
* import the package referenced in the ticket
* should still be able to visit and edit the page with
the title 'BIO 095'

fixes #CNVS-12696

Change-Id: Iff793642697576dc8df887a9084c8fc0fdf2eaa8
Reviewed-on: https://gerrit.instructure.com/34042
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>