PF-7561 ensure the convertUrl function always returns a url