#47378 emerge now remove portdir if git repository is not correctly created