For some reason CI executed the install line twice (when has-conda is false) - the second time with an 'L' in front, which caused the error. I don't really know why, but after trial and error found that the added if-statement 'fixes' it. In the sense that the tests pass. Looks like it still executes it, but it it's not causing the script to quit because of it.
As said: The bug seems to be CI-related, and doesn't occur on an ordinary pc.
For some reason CI executed the install line twice (when has-conda is false) - the second time with an 'L' in front, which caused the error. I don't really know why, but after trial and error found that the added if-statement 'fixes' it. In the sense that the tests pass. Looks like it still executes it, but it it's not causing the script to quit because of it. As said: The bug seems to be CI-related, and doesn't occur on an ordinary pc.