Fix squeue issue with not recognizing "localhost" in --nodelist option.

Bug 1305