fix hostlist parsing

@jsquyres - could you please review. thanks
Don't you want ```[\s,]+``` ?