Perhaps simpler to grok as `pid.split('@')[0]`