Fix "The source directory '${S}' doesn't exist" error