Fix bug in commit 2e97c5a

There is no CONTAINER variable as pointed out by @tcdent. We really
need some proper tests.
Merge pull request #67 from ferrix/syncstatic_fix

Fix bug in commit 2e97c5a