Merged in vtheile/openattic/fix_OP-2473 (pull request #351)
Assign the correct variable.
Signed-off-by: Volker Theile <vtheile@suse.com>