do not treat any packages specially
Something like any
does not exist in the concept of pacman repositories as they are linked to all binary repos. The current implementation of having specific any
directories in the state repo creates more havoc and implementation complexity while not gaining much with this distinction - and even loosing the overview in the state repo where exactly any packages are or aren't.
Remove any
directories and just keep track of multiple entries like native packages.