Setup `--orphan` option for git checkout
Extract directory name as a constants
Stop duplicated build on Travis