Don't try to replace tokens that don't exist in the source path. Fixes #161.