[BUGFIX] nobrainer, fix typo
autoload_namespaces returns array of directories
Merge pull request #1 from t3dev/master

fix typo and string!=array issue