BUG: fix keyring import on non-windows environments.