Minor fixes to debug logs of apply_role
Merge pull request #884 from vuntz/debug-fixes

Minor fixes to debug logs of apply_role