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

Change-Id: Iaca974e7be902261b7248dd46a17d567d7c5b3ee
Closes-Bug: 1368644