fixed deploy-all command, was broken when basedir is defined