More error checking before trying to do installs.

Check for existence of previous installs.