Changed strategy to detect module's VCS