We previously got the machine hostname for Netrc from the url of the remote, but in cases where the clone-url does not match the api url this can lead to errors. Co-authored-by: Anbraten <anton@ju60.de>