Improved pbsnodes wrapper to handle short hostnames and aliases