fixes: provided hosts list is empty (issue 6)