clean up dependency handling for autorebuilds