added check for existing module - edoc.

fixes the bug with public:// added several time on non-edoc imports