avoid unnecessary calculations

If we are not going to use the "missing" vector then we should not create it
(avoid an expensive operation).

This is related to the changes in https://github.com/ros-planning/moveit_core/pull/152 and https://github.com/ros-planning/moveit_core/pull/148