Allow to pass upcased string as the app name, closes #1761

ref #1761