Change sql regex so that it maches the expected root directory