Use findstring to check MODULE_BUILD_FROM_SOURCE am: 51fb042cc2 am: 6e10fa5871

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/16148239

Change-Id: I77b779b9762883b2d4ca1ea9fb43d78dc9f1f94e