build: Adding check_variables()

When building edeploy, it's mandatory to get absolute an absolute path
for TOP unless it will fail at deleting or umounting stuff.

This commit add a sanity check to avoid this mistake seen in the CI.