The scale is not stored in the form you expect: it's passed directly to the pgf base layer. If you try
\documentclass{article}
\usepackage{tikz}
\pgfkeys{/tikz/scale/.show code}
you get
> \pgfkeysshower=\long macro:
#1\pgfeov ->\tikz@addtransform {\pgftransformscale {#1}}.
\pgfkeys@code ...keysshower }\show \pgfkeysshower
i.e. there is a TikZ wrapper passing to \pgftransformscale. The latter stores the data in a matrix: one can recover it using \pgfgettransformentries or \pgfgettransform (the latter has everything in one macro):
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\pgfkeys{/tikz/scale = 2}
\pgfgettransformentries\aa\ab\ba\bb\xhsift\yshift
\show\aa
\show\ab
\show\ba
\show\bb
\end{tikzpicture}
\end{document}
scalemight be a style forx scaleandy scale(I never remember if with spaces or not). Maybe try to get the values of one of those. – Nicola Gigante Mar 09 '18 at 08:38