Fix php error accessing undefined  index.
Fixes #17436: Imported issues are being assigned to logged in user.
Fixes #17433: Matching category names should support inherit categories.
Don't fail with master for lack of helper_alternate_class().