fixes handling of the shorter '-i' flag when getting nodes by Hardware ID
Merge pull request #225 from tjmcs/tb/fix-hw-id-short-flag-handling

fixes handling of the shorter '-i' flag when getting nodes by hw_id