Fixes #4222: Change the logic to copy the local and common directories of NCF