Fix deprecated url pattern import