prevent error from being thrown on reinstall

This patch prevents an install error from being thrown in the event that directory already exists.