adding modification in module check

Signed-off-by: Xavier Roche <opendev.os@gmail.com>