Fix deployment when no YAML files are deleted

Resolves bug introduced in commit 9c61e2f0.
1 job for master in 6 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Generate
passed #5610
cross
generate

00:00:06