Remove a needless ".dirname"