astrometry_net_data is an optional dependency of pipe_tasks. The relevant methods from pipe_tasks (setConfigFromEups are currently used in lsst_ci and testdata_jointcal.
The testdata_jointcal usage is purely from a config file created from a dump which includes imports of every lsst package that was loaded when the config was written. This is trivial to fix. The lsst_ci usage includes code to set processCcd configurations that I believe are no longer relevant since we are not use astrometry_net any more.