gstpluginloader: inform user when gst-plugin-scanner is not available

This if condition needs to be moved outside the else so that it is always triggered on failure.
37 jobs for !669 with master in 37 minutes and 21 seconds (queued for 9 seconds)
detached
Status Job ID Name Coverage
  Build Docker
passed #4958679
alpine amd64 manifest builder docker

00:00:25

passed #4958678
android docker

00:00:30

passed #4958676
cerbero fedora amd64 docker

00:00:25

passed #4958675
fedora amd64 docker

00:00:25

passed #4958681
gst-indent amd64 docker

00:00:25

 
  Preparation
passed #4958684
gst indent

00:00:06

passed #4958683
manual
manifest

00:01:03

 
  Build
passed #4958700
gstreamer
build cerbero cross-android universal

00:11:53

passed #4958704
gst-ios-13.2
build cerbero cross-ios universal

00:17:55

passed #4958701
gstreamer
build cerbero cross win32

00:08:01

passed #4958702
gstreamer
build cerbero cross win64

00:06:34

passed #4958699
gstreamer
build cerbero fedora x86_64

00:06:16

passed #4958703
gst-macos-10.15
build cerbero macos x86_64

00:13:11

passed #4958705
1809 gstreamer-windows windows docker
build cerbero msvc x86_64

00:12:36

passed #4958691
build clang fedora x86_64

00:05:57

manual #4958698
1809 windows docker allowed to fail manual
build msys2
passed #4958686
build nodebug fedora x86_64

00:04:41

passed #4958687
build static fedora x86_64

00:03:10

passed #4958689
build static nodebug fedora x86_64

00:04:24

passed #4958692
1809 windows docker
build vs2017 amd64

00:10:27

passed #4958695
1809 windows docker
build vs2017 x86

00:10:49

 
  Test
passed #4986839
gstreamer
check fedora

00:04:29

passed #4958707
gstreamer
integration testsuites fedora 1/4

00:13:15

passed #4958708
gstreamer
integration testsuites fedora 2/4

00:14:26

passed #4958709
gstreamer
integration testsuites fedora 3/4

00:13:22

passed #4958710
gstreamer
integration testsuites fedora 4/4

00:13:59

passed #4958715
gstreamer
valgrind bad

00:04:12

passed #4958712
gstreamer
valgrind base

00:07:09

passed #4958711
gstreamer
valgrind core

00:05:47

passed #4958716
gstreamer
valgrind ges

00:08:14

passed #4986817
gstreamer
valgrind good

00:05:47

passed #4958714
gstreamer
valgrind ugly

00:03:04

failed #4958706
gstreamer
check fedora

00:06:52

failed #4958713
gstreamer
valgrind good

00:06:48

 
  Integrate
passed #4958717
cross-android universal examples

00:07:17

passed #4958719
gst-ios-13.2
cross-ios universal examples

00:01:40

passed #4958718
documentation

00:20:03