[2.2] Allow spaces and use formatted postcodes for wildcard in local pickup

Fixes #5250. Should go in 2.2 since it could affect existing setup
codes.