Add two more cases of what not to curlify undefine and docdir.