Deploy script fix

[#71195408] https://www.pivotaltracker.com/story/show/71195408