Fix setting of analysis report that was broken by commit 245613f