fix usage of obsolete rosdistro api