Fix exception when nuwanda is imported with require