Merge "Fix bug #37284906, adb shell crashes on windows with invalid options. For example, "adb.exe shell -list" crashes without this fix. Test: adb.exe shell -list-packages" am: e275043d38 am: 4be54a4622 am: 94574c4f00
am: 2f19bbe3e9

Change-Id: I15b71beff85d64ae1a80140e96c35ddb0dc44e38