Add support for remote DESTBASEDIR

Signed-off-by: Gianpaolo Macario <gianpaolo_macario@mentor.com>