Handle empty patches better
Handle empty patches better

The previous patch loading utilities omitted empty patches, as they
were thought to be of no significance, and when no patches were used,
the import and therefore dependency should not be used. If a user has
added an empty patch file, and made an entry in the order file, the QA
would treat this as an error as it had no means of differentiating
between a patch not present and an empty patch.

This patch fixes the solution by better handling empty patches, and
logging warnings when they are encountered.

Signed-off-by: Hrvoje Ribicic <be5828fca31f89218048bec4189e30a581aa65da@google.com>
Reviewed-by: Michele Tartara <05f7077a2c6cbbdc4af4ba42e3ef89a0df846179@google.com>

apyrgio/snf-ganeti,leshchevds/ganeti,ganeti-github-testing/ganeti-test-1,apyrgio/snf-ganeti,ganeti-github-testing/ganeti-test-1,mbakke/ganeti,mbakke/ganeti,yiannist/ganeti,onponomarev/ganeti,andir/ganeti,grnet/snf-ganeti,ganeti/ganeti,bitemyapp/ganeti,mbakke/ganeti,grnet/snf-ganeti,leshchevds/ganeti,apyrgio/ganeti,andir/ganeti,leshchevds/ganeti,ganeti/ganeti,yiannist/ganeti,dimara/ganeti,andir/ganeti,onponomarev/ganeti,apyrgio/ganeti,ganeti/ganeti,bitemyapp/ganeti,dimara/ganeti,yiannist/ganeti