Revert "Git source method don't support codebase"

This reverts commit 7b14fbbb7a976263a301901bff9f4f0930702bc5.
Revert "fix last commit and scheduler method don't support codebase"

This reverts commit 38c0efe0c24b3635188eb3ccf703c1edaababa5a.

Conflicts:

	buildbot_travis/loader.py