[bug] get the correct snap paths
config.BinaryName is not set when the global variables are defined, we need to generate the string when we need it instead.
config.BinaryName is not set when the global variables are defined, we need to generate the string when we need it instead.