Bugfix in getBlankMedias

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Merge branch 'master' into jmrunge/logging