Seems like this was indeed a false positive and should be already resolved https://forum.avast.com/index.php?topic=205277.msg1407486#msg1407486