fixed NPE when wagon config has no http headers

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>