Use puts instead of logger for error message in rake task

Since the user is most likely using the command line during for the
rake task it makes sense to use puts to display the message to std out
instead of the logger.