fixed wrong variable name in rock_add_plain_dependency

Please pull this fix soon, this bug leads to build fails with graph_slam and most probably other packages.