Added workaround for puppet commander so machines machines without lsb installed can use the script
Allow discovery from a directory of YAML files.

As per those which get written out by the registration-monitor agent.