Add support for getlongdir in multi.