Fix unit test failure if python-glanceclient is installed