Added a missing check for build-app

Change-Id: I3e2e4e51931a92cde10c1e3a0c71c7d0a1ae14e3
Merge "Added a missing check for build-app"