Fixed reporting of instances from targetgroups

Instances in the state "unused" are also reported when querying a target group, so we need to filter those
1 job for 0.2.13 in 43 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Test
failed #4281
build_and_upload

00:00:43

 
Name Stage Failure
failed
build_and_upload Test
adding 'akinaka-0.2.13.dist-info/METADATA'
adding 'akinaka-0.2.13.dist-info/WHEEL'
adding 'akinaka-0.2.13.dist-info/top_level.txt'
adding 'akinaka-0.2.13.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
$ python3 -m twine --username $PYPI_USERNAME --password $PYPI_PASSWORD upload dist/*
usage: twine [-h] [--version] {check,register,upload}
twine: error: unrecognized arguments: --username --password
ERROR: Job failed: exit code 1