Check if quota is active before using it

Check if quota is active before calculating the percentage of used
quota. Otherwise a division by zero is done.
Log commands if they could not be parsed