Logistic regression: Correct problems with install-check

- Corrected the accidental clobering of an if-statement
- Corrected missing assert statement in install-check
Python group controller: Strip double quotes in _string_to_array output