fix distributor tests for headpin, block gpg-key search
headpin: blocks navigation to environment tab
Merge pull request #767 from blrm/head-fix

Headpin test cleanup