qi_generate_src: fix when using relative sources

Fixes #17797

Change-Id: I04891248d346d7e7fafba8fa7276d800da815a8a
Reviewed-on: http://gerrit.aldebaran.lan/34876
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
remove debug print

Change-Id: I6a1abcdc49fe3189c1312947fdf88d2b1ddd86df
Reviewed-on: http://gerrit.aldebaran.lan/38801
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>