Fix unwanted local copies creation.