add error message when using check_rosdistro script on wrong files (#1013)