AutoloadGenerator ClassLoader check simplified

I don't think it will affect performance a lot, but from first view it wasn't understandable how ClassLoader file is included. I propose more simple way.