Faster role metadata existence test.
Merge with origin/master.