Fix error calling autoindex_directives