isPackageBlockedByScope = function(packageName, scope) {
  if (scope.startsWith("^"))
    return packageName.startsWith(scope.slice(1, scope.length));
  else
    return packageName ==  scope;
}
Return if the package name is blocked by the given block scope
@param {String} packageName
@param {String} scope
@returns {Boolean}