Follow symlinks when pulling production repository

If symbolic links are used in production repository, then treat
the symlink to a directory as though it were a real directory.

Change-Id: Ia6ce61e516ffc5ddbb256a96a9efd1160e7a7109
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>