Added check is branch/revision changed and should it be deployed