strip path from network identifier