Fixes #289: Gii module could be submodule of an another module.

Fixes #289: Gii module could be submodule of an another module.