check bundlePath before setStartAtLogin