Make temp_srcs robust to database absense