rtt_actionlib_examples: Making sure goal is valid before querying its status