Revert "urls: no more condition dict"

This reverts commit a3cfd895e73e3cdb5becd01a3e4faa72737d0466.