fix software list retrieval on newer BSDs

closes: #2637