Fix role::globalblocking SQL commands
Fix role::globalblocking SQL commands

* update source file URLs after extension was converted to
  use abstract schemas
* 'unless' clause should always use 'select 1'; 'select count(*)'
  works because we are grepping for '1' in the output and it will
  only ever be 0 or 1, but still good practice to keep consistent.

Change-Id: Icf1b7520b09d7a6a51d54b37dff5f80656ba1fa8

wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant