Remove error from setDirAndHashOptions' return values