Removed an useless check in deploy