Deployment to Cloud Foundry organisations with spaces fails

I am trying out the v2 deployment tool with cloud foundry but ran into a problem. Both my organisation and space contains whitespace e.g. org-name is “Arkyn Studios ApS”. However the build ignores any quotes I use, so it ends up giving an error because it cannot find organisation “Arkyn”.

Works fine in V1.

Link to build:
https://travis-ci.com/github/Arkyn-Studios/home-realm-api/builds/166888440