Fix the way the BUILD_ID is found in the environment variables and raise an exception if it is

The exception makes it skip the unit-tests as says so instead of doing it
silently.
Move the skip_jenkins decorator to the setUp() method for all the backend tests