Added some sanity checks for quotes and slashes around the wmic argument...

When I was debugging what was going on with WMI queries failing in RHEL6, I needed to make the following changes in order for a Windows 2008R2 Domain Controller to accept the query.