Add local-safe functions to avoid running ssh commands with custom-only installs using a flavor