Fixing two issues:

1. If quota is not initialized in api server, while updating quota, we will get None. We need to handle this case.
2. Fixed a typo.

Change-Id: Ic9b92792ace6d7e07895ae6dff2a01a34247e87a
Closes-Bug: 1378077
(cherry picked from commit 5f6adfbcc5924105a054c9e563202322d0fe516d)