[libraries] Check the asset is valid before determining dependencies

4 jobs for improve_dependency_check in 4 minutes and 13 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #191938
docker-build
build_linux_36

00:02:53

55.0%
passed #191939
docker-build
build_linux_37

00:02:45

55.0%
passed #191936
macosx
build_macosx_36

00:04:13

55.0%
passed #191937
macosx
build_macosx_37

00:04:04

55.0%