Return a more helpful error type is app is a blank string

As discussed in #41