Aliases are wiped out after site rename - fixes #542