This is the error if no state argument is passed. It looks as if it's trying to parse the word undefined perhaps?
I was trying to trigger install on a spare org I had without first installing the package, so I could answer the question "What happens if someone tries to use this without the package installed?"