fix the tests for `check_license` and `staticcheck` the static check also found some actual bugs. Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
make use of the Makefile.common Signed-off-by: Martin Chodur <m.chodur@seznam.cz>