t: fix running w/o site or user configuration

Some tests are not skipped correctly in the absence of site/user
configuration.
Merge pull request #1213 from matthewrmshin/fix-t-on-empty-site-conf

t: fix running w/o site or user configuration