util: Remove unused and broken scopeMatch()