Bugfix: clone is now working.
Mac: Unset unnecessary environment variables.