fixed handling of package names inside domain/subdomein