Add "/" after layout-dir when its required
fixes #1
Merge branch 'master' of github.com:fzerorubigd/tmass