Fixing hostname error

When you create a task without a host, and then try to edit it, this originally gave a 400 error because hostname was never set, and there was no check for "None". This fixes that.
Correct, the check is for a hostname that is not available in the dagobah instance (the user will ha e to correct the hostname before any other changes can be made to the task)