No need for doing toLowerCase() for app argument, fixes #2131

Fixes #2131