Restore the existing source root directory

Related to #2449