Restore needs_unref variable and condition

2 jobs for master in 1 minute and 20 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #4256
build

00:00:34

 
  Distcheck
passed #4257
distcheck

00:00:46