Query loop devices in mount_image instead of using internal counter
Improve logging in fw_mounter