imaging: Fix redirect when adding master to imaging group