Make build script more robust
Make build script more robust

Madhukarc/azure-sdk-tools,antonba/azure-sdk-tools,johnkors/azure-sdk-tools,johnkors/azure-sdk-tools,Madhukarc/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,akromm/azure-sdk-tools,akromm/azure-sdk-tools,DinoV/azure-sdk-tools,antonba/azure-sdk-tools,johnkors/azure-sdk-tools,Madhukarc/azure-sdk-tools,markcowl/azure-sdk-tools,Madhukarc/azure-sdk-tools,DinoV/azure-sdk-tools,akromm/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sdk-tools,Madhukarc/azure-sdk-tools,markcowl/azure-sdk-tools,antonba/azure-sdk-tools,markcowl/azure-sdk-tools,johnkors/azure-sdk-tools,johnkors/azure-sdk-tools,antonba/azure-sdk-tools,DinoV/azure-sdk-tools,DinoV/azure-sdk-tools,antonba/azure-sdk-tools