gns.cli: use importlib instead of multiple imports