I came across the same issue after updating to MAMP Pro 7, and i found it has default host named localhost created which is having root directory pointing to Sites/localhost, so when we try to place another site under localhost directory it throws the same error.
The workaround is to edit the root directory of default localhost to something like Sites/localhost/SOME-DIR and then save the changes after that we can add another hosts as 6 version.