Fix import issue when built with Python 2 support Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>