Fixes 404 error when trying to add scan agent tasks.
Merge commit '2f83a3b5c03271c9dcbce6b14e5d8f1c653485af' into HEAD