[bugfix] needed to check for presence of dockerfile string