check if project exists before deploy