[automerger] Skip logging if device profile is not initialized am: 87168ca1f7

Change-Id: I2729ac8d3ac15ac7dd92aba2927c6cbb8dd7b3de