[PATCH OLK-6.6] software node: Fix software_node_get_reference_args() with index -1