Fixed error message of deploy script to be more precise