tools: make check-imports.sh work on bsd-likes
tools: make check-imports.sh work on bsd-likes

dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node