Fix typo causing an exception when app name is missing