rospack find hokuyo_node will tell you which package path it's using. The directories that ROS tools use to search for packages are listed in \$ROS_PACKAGE_PATH, which is typically set by the setup.bash file in your workspace.