Do not incur the cost of a second method call

The usage of dict.get here is unnecessary since dict.setdefault will
not override an existing value.

Change-Id: Ie1b360cc7dd657aafda9f7d9de6c87cdf6c3f97d
Merge "Do not incur the cost of a second method call"