Fix code source mode

Even when filename and moduleName were empty, a findModule was done
and throws an exception preventing moduleSource to be use instead.

Signed-off-by: mfe <mfe@mikrosimage.eu>