Fixed build with empty .m2 repository

Signed-off-by: Andreas Pieber <anpieber@gmail.com>