docker: Fix copy packages step for empty dirs
* docker/docker-build.sh: Check if files to copy are there before calling copy.