removed MainObject initialization and fixed errorlog warning
removed MainObject initialization and fixed errorlog warning

djoudi/otrs-gitimport-test,djoudi/otrs-gitimport-test,djoudi/otrs-gitimport-test