Sydney residents will no longer compete with foreign investors at auction or when buying an existing home, regardless of who wins the next election.