Fix bug where pi would open 2 iTerm windows instead of one when iTerm was not previously running

Now it's working flawlessly ;)