Fixes #193. DirectoryCatalog is not initialized if script name isn't passed.