Fix dict check to not replace empty dict.
Fix dict check to not replace empty dict.

johnbachman/indra,bgyori/indra,johnbachman/indra,johnbachman/belpy,johnbachman/belpy,pvtodorov/indra,pvtodorov/indra,bgyori/indra,sorgerlab/belpy,sorgerlab/indra,johnbachman/belpy,pvtodorov/indra,sorgerlab/belpy,sorgerlab/indra,bgyori/indra,johnbachman/indra,sorgerlab/indra,sorgerlab/belpy,pvtodorov/indra