Avoid error 500 when target is forgotten

2 jobs for patch/targets in 11 minutes and 5 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #1928
black

00:02:38

passed #1927
test

00:11:05

60.0%