Do we need a check for empty `app` here like it is done [above](https://github.com/cbmi/avocado/pull/160/files#diff-1eb6d81ccc1e5d123491f872592bafb0R25)?