Explicitly check for None while checking for quota limit. Previous checks would treat None and 0 as same.

Change-Id: Ib48b8feee2bb702d76e7fe9a1de135475eb4d790
Closes-Bug: 1368644
(cherry picked from commit e1f535c26aca041ebfec95cfb5a3b8df4013c8d5)
Merge "Explicitly check for None while checking for quota limit. Previous checks would treat None and 0 as same." into R1.10