Only add the 'do_not_allow' if target user ($args[0]) is set.

Fixes #6095.