Fix bug. 'hierarchy' command throws error when it is executed as single command(not as sub command of init).
Fix bug. 'hierarchy' command throws error when it is executed as single command(not as sub command of init).

FGtatsuro/flask-boilerplate,FGtatsuro/flask-boilerplate,FGtatsuro/flask-boilerplate