I solved it. Problem was .treeinfo with a relative url to AppStream in BaseOS repo. Removed these lines - it is working now.