Removed salt.modules.cmdmod import, use os.popen() instead as we don't have access to __salt__ here