Lookup install status on environments table.
Adding check for re-install.