Fix return values of AMD modules, refs #13101 !strict