Format package key so it can contain property place holders.