replaced fetching of repositories with guzzle client
script does not return the repository anymore but redirects