Fixed the build script: it did not work properly if the sites/default directory is a symlink.
The backup - restore during an upgrade was broken.
Merge pull request #52 from capacity4dev/feature/Fix_upgrade_with_symlinked_default_directory

Fixed the build script: it did not work properly if the sites/default directory is a symlink.