Added test for BZ 1097884

Signed-off-by: James Molet <jmolet@redhat.com>

pylint

added smart buildfile handling for build_paths

Signed-off-by: James Molet <jmolet@redhat.com>