To solve the "The source directory...... doesn't exist" just put
S="${WORKDIR}"
after inherit