improve error message to include package names when circular dependency is detected (fix #18)