[Bug 1226333] targetcli fails with error: name 'glob' is not defined