Unbreak AJAX views using @get_path_obj

Many of our AJAX requests do not have a ‘path’, but @get_path_obj now requires one always which breaks any views that use it, so relax this and use the ‘path’ only when present.