Fix updater bug/beautify code

Sorry, I discovered there was a bug in the updater code for pid2cmd in version 0.1.1. Running pid2cmd with --update will fix it.

Kudos to Seth for discovering that you can't initialize variables in nested if statements in (ba)sh.