Fix require_relative to environment path