fix problems with importing invalid wiki page urls
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 <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Jeremy Stanley <b3f594e10a9edcf5413cf1190121d45078c62290@instructure.com>
Product-Review: Jeremy Stanley <b3f594e10a9edcf5413cf1190121d45078c62290@instructure.com>
QA-Review: Nathan Rogowski <2e8aa918660411855c6d44d5bb2da677aa033255@instructure.com>

SwinburneOnline/canvas-lms,tgroshon/canvas-lms,eCNAP/CANVAS,narigone/canvas,instructure/canvas-lms,roxolan/canvas-lms,redconfetti/canvas-lms,ShreniiNepal/shrenii_lmp,antoniuslin/canvas-lms,samuels410/greatlakes-lms,snehakachroo1/LSI_replica,venturehive/canvas-lms,gbleydon/canvas-lms,whalejasmine/canvas-lms,redconfetti/canvas-lms,Rvor/canvas-lms,fronteerio/canvas-lms,utkarshx/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,whalejasmine/canvas-lms,kyroskoh/canvas-lms,sfu/canvas-lms,gbleydon/canvas-lms,samuels410/greatlakes-lms,matematikk-mooc/canvas-lms,eCNAP/CANVAS,kyroskoh/canvas-lms,Rvor/canvas-lms,va7map/canvas-lms,antoniuslin/canvas-lms,kyroskoh/canvas-lms,wrdsb/canvas-lms,antoniuslin/canvas-lms,grahamb/canvas-lms,fronteerio/canvas-lms,greyhwndz/canvas-lms,Jyaasa/canvas-lms,whalejasmine/canvas-lms,utkarshx/canvas-lms,shidao-fm/canvas-lms,sdeleon28/canvas-lms,narigone/canvas,roxolan/canvas-lms,djbender/canvas-lms,venturehive/canvas-lms,eCNAP/CANVAS,wye0220/shindig-canvas,juoni/canvas-lms,utkarshx/canvas-lms,Rvor/canvas-lms,snehakachroo1/LSI_replica,efrj/canvas-lms,Unow/canvas-lms,HotChalk/canvas-lms,wrdsb/canvas-lms,leftplusrightllc/canvas-lms,djbender/canvas-lms,sfu/canvas-lms,grahamb/canvas-lms,Unow/canvas-lms,usmschuck/canvas,roxolan/canvas-lms,Jyaasa/canvas-lms,HotChalk/canvas-lms,Jyaasa/canvas-lms,snehakachroo1/LSI_replica,Jyaasa/canvas-lms,matematikk-mooc/canvas-lms,efrj/canvas-lms,leftplusrightllc/canvas-lms,leftplusrightllc/canvas-lms,sdeleon28/canvas-lms,Unow/canvas-lms,sfu/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,leftplusrightllc/canvas-lms,antoniuslin/canvas-lms,SwinburneOnline/canvas-lms,usmschuck/canvas,jay3126/canvas-lms,kyroskoh/canvas-lms,juoni/canvas-lms,dgynn/canvas-lms,va7map/canvas-lms,skmezanul/canvas-lms,fronteerio/canvas-lms,instructure/canvas-lms,jay3126/canvas-lms,efrj/canvas-lms,va7map/canvas-lms,fronteerio/canvas-lms,eCNAP/CANVAS,whalejasmine/canvas-lms,instructure/canvas-lms,tgroshon/canvas-lms,shidao-fm/canvas-lms,AndranikMarkosyan/lms,venturehive/canvas-lms,gbleydon/canvas-lms,shidao-fm/canvas-lms,juoni/canvas-lms,HotChalk/canvas-lms,tgroshon/canvas-lms,jay3126/canvas-lms,narigone/canvas,HotChalk/canvas-lms,instructure/canvas-lms,SwinburneOnline/canvas-lms,snehakachroo1/LSI_replica,wye0220/shindig-canvas,AndranikMarkosyan/lms,dgynn/canvas-lms,venturehive/canvas-lms,utkarshx/canvas-lms,ShreniiNepal/shrenii_lmp,wye0220/shindig-canvas,va7map/canvas-lms,juoni/canvas-lms,greyhwndz/canvas-lms,narigone/canvas,ShreniiNepal/shrenii_lmp,tgroshon/canvas-lms,AndranikMarkosyan/lms,skmezanul/canvas-lms,shidao-fm/canvas-lms,wrdsb/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,skmezanul/canvas-lms,ShreniiNepal/shrenii_lmp,usmschuck/canvas,instructure/canvas-lms,jay3126/canvas-lms,matematikk-mooc/canvas-lms,redconfetti/canvas-lms,sdeleon28/canvas-lms,greyhwndz/canvas-lms,instructure/canvas-lms,dgynn/canvas-lms,roxolan/canvas-lms,dgynn/canvas-lms,samuels410/greatlakes-lms,wrdsb/canvas-lms,SwinburneOnline/canvas-lms,sfu/canvas-lms,matematikk-mooc/canvas-lms,djbender/canvas-lms,sdeleon28/canvas-lms,djbender/canvas-lms,AndranikMarkosyan/lms,efrj/canvas-lms,Rvor/canvas-lms,skmezanul/canvas-lms,samuels410/greatlakes-lms,usmschuck/canvas,greyhwndz/canvas-lms,redconfetti/canvas-lms