add rails4 compatible after_fork
install base rails app if no git_url provided
also make default app name detection work with an empty git_url