make 'update --all' work again and add test
Merge pull request #752 from wp-cli/fix-update-all

Fix `update --all`