AMBARI-5876. Add host fails when only tasktracker is selected (aonishuk)