Update autostatus_rule_condition.rb

fixed issue when feature has no task defined