Small bugfixes for Amazon DB instance sync
Fixed directory issue when using symlinks