Fixes _is_installed() routine

Installation wasn't working because of this.