DirectoryExpander.expand is called with wrong argument.