Fixed error if /opt didn't exist