build_wrapper: Clean up based on pylint results

Change-Id: I0aa6e45ef24f8413360fd70f7539bdcc4a2607ea
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>