Choose the proper commit ID of master and dev branch.

Before this change,
the master's commit ID is retrieved from Jenkins Last Build information.

After this change,
the master's commit ID is retrieved from `git ls-remote origin master | awk '{ print $1 }'.

This commit fixes #216.
Merge branch 'id/216' into dev