provision: Fix string replacement ordering