is_remote_package function cleanup
add module name to localname to support packages having more than one module