Fixes #5112: use good method to check technique metadata ...

http://www.rudder-project.org/redmine/issues/5112