PUP-3754: Better logging when fail to set ownership