Fix exception in command output substitution

If an attempt is made to apply command output substitution via
Plugin.do_cmd_output_sub() and no output has been collected (i.e.
called['file'] == None) an exception is thrown by os.path.join().

The exception is also not logged properly due to an attempt in
the do_cmd_output_sub() exception handler to access an unbound
local variable (path - the exception occurs before it is
assigned).

Fix both of these by checking for an empty file entry and avoiding
access to the path variable from the exception handler.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Fix typo in collection of /proc/kallsyms

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Fix regex substitution in openhpi plug-in

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Do not pass directory paths to addCopySpecLimit in squid plug-in

The squid plug-in attempts to collect a directory path with size
limiting via addCopySpecLimit. This does not work with the current
interface.

Replace with separate calls to addCopySpecLimit for each default
log file in the /var/log/squid directory.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>