registryd: Remove some unused code