[webdriver] Format pack.sh

- Make http://www.shellcheck.net/ happy
- Follow http://google-styleguide.googlecode.com/svn/trunk/shell.xml