Reduce cyclomatic complexity of appMain

Job #1122897267 failed for fa7c1207: