Fix: ModuleExists was returning wrong values

Signed-off-by: Seemant Rajvanshi <seemant.rajvanshi@gmail.com>