add whitespace check for rosdep files (fix #3089)

@wjwwood @vrabaud Please review.