Error building site with aliases and outputs

Hello,

It seems we can’t generate aliases and more outputs like “amp” together. Here is how to reproduce the problem :

hugo new site blog
cd blog
hugo new _index.md

Modify content/_index.md to remove draft and add aliases :

---
title: "Home"
date: 2018-08-20T18:53:31+02:00
aliases: ["/oldindex.html"]
---

hugo command works as expected : the public directory is created.

Add this in config.toml :

[outputs]
    home = ["HTML", "AMP"]

hugo command says :

Error: Error building site: open /home/jeff/tmp/blog/public/oldindex.html/amp/index.html: not a directory

hugo version is : Hugo Static Site Generator v0.47.1 linux/amd64 BuildDate: 2018-08-20T12:56:04Z