Fixes typo
Some further checks to make sure things don't attempt to install themselves over and over