Edit. The OP has clarified that all of the sheaves are sheaves of locally constant functions, rather than sheaves of continuous functions or $C^\infty$ functions. In that case, it is better to consider principal bundles that are induced from an Abelian subgroup of the normalizer of the maximal torus that is not contained in the maximal torus. For instance, let $\Gamma'$ be the subgroup of $\textbf{PGL}(n,\mathbb{C})$ generated by the equivalence classes of the following two matrices, $$ A=\left[\begin{array}{cccccc} 0 & 1 & 0 & \dots & 0 & 0\\ 0 & 0 & 1 & \dots & 0 & 0\\ 0 & 0 & 0 & \dots & 0 &0\\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots\\ 0 & 0 & 0 &\dots & 0 & 1 \\ 1 & 0 & 0 & \dots & 0 & 0 \end{array} \right], \ \ B=\left[\begin{array}{cccccc} 1 & 0 & 0 & \dots & 0 & 0\\ 0 & z & 0 & \dots & 0 & 0 \\ 0 & 0 & z^2 & \dots & 0 & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ 0 & 0 & 0 &\dots & z^{n-2} & 0 \\ 1 & 0 & 0 & \dots & 0 & z^{n-1} \end{array} \right], $$ where $z$ is a primitive $n^{\text{th}}$ root of unity. The group $\Gamma'$ is isomorphic to $(\mathbb{Z}/n\mathbb{Z})\times \mu_n$. The inverse image $\Gamma$ of $\Gamma'$ in $\textbf{SL}(n,\mathbb{C})$ is a non-Abelian group. It is a central extension of $\Gamma$$\Gamma'$ by $\mu_n\cdot \text{Id}_{n\times n}$. The commutation relation is $ABA^{-1}B^{-1} = z\cdot \text{Id}_{n\times n}$. The central extension of finite groups, $$ 1 \to \mu_n\cdot \text{Id}_{n\times n} \to \Gamma \to (\mathbb{Z}/n\mathbb{Z})\times \mu_n \to 1,$$ gives a long exact sequence of non-Abelian cohomology with a connecting map, $$\delta:H^1(M;(\mathbb{Z}/n\mathbb{Z})\times \mu_n) \to H^2(M;\mu_n).$$ This connecting map is what is usually called the Weil pairing. There are many ways to construct the Weil pairing; the construction above is just one (probably not the best, since it is a little unclear how this behaves when you replace the integer $n$ by a multiple of $n$).